from flask_migrate import Migrate, MigrateCommand
from flask_script import Manager
from info import config_modle
from info.new_pay import create_new
import threading

app = config_modle()
manager = Manager(app)
if __name__ == '__main__':
    t1 = threading.Thread(target=create_new)
    t1.start()
    # manager.run()
    app.run()
